export default {
  template :`
    <div>
      <h2>{{message}}</h2>
      <button @click="btnClick">按钮</button>
      <span>{{message}}</span>
      <span>{{message}}</span>
    </div>
  `,
  data(){
    return {
      message: 'hello webpack',
      name: 'zhangsan'
    }
  },
  methods: {
    btnClick(){
      console.log("btnClick");
    }
  }
}